package com.tofindaway.daoimpl;

import org.springframework.stereotype.Repository;

import com.tofindaway.dao.UserDao;
import com.tofindaway.entity.User;

@Repository
public class UserDaoImpl extends GenericDaoImpl<User> implements UserDao {

	public UserDaoImpl() {
		super(User.class);
	}

	@Override
	public User load(Long id) {
		User instance = (User) getSession().load(User.class, id);
		return instance;
	}
}
